import httpInstance from "@/utils/http"
export const getAddressAPI = () => {
    return httpInstance.get('/address')
}
export const changeDefaultAddressAPI = (addressId) => {
    return httpInstance.post('/address/update', addressId, {
        headers: {
            'Content-Type': 'application/json' // 明确指定请求头为 JSON
        }
    }
    )
}